import styled from "styled-components";

export const StyledCinemasItem = styled.div`
  /* box-sizing: border-box; */
  margin: 0 0.1rem 0 0.1rem;
  padding: 0.1rem;
  background: white;
  position: relative;
  height: 0.32rem;
  &::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 1px;
    border-bottom: 1px solid #ededed;
  }
  .cinemas-info-lt {
    width: calc(100% - 0.65rem);
    float: left;
    padding-right: 0.15rem;
    span {
      display: block;
      max-width: 80%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
  .cinema-lowPrice {
    color: #ff5f16;
    span {
      font-size: 0.12rem;
      float: right;
    }
  }
  .cinema-gpsAddress {
    color: #797d82;
    font-size: 0.12rem;
    margin-top: 0.05rem;
    span {
      font-size: 0.12rem;
      float: right;
    }
  }
  .cinema-name {
    color: #191a1b;
    font-size: 0.15rem;
  }
  .cinema-address {
    color: #797d82;
    font-size: 0.12rem;
    margin-top: 0.05rem;
  }
`;

export const CinemaListTag = styled.div`
  position: fixed;
  display: flex;
  height: 0.5rem;
  width: 100%;
  top: 0.4rem;
  right: 0;
  text-align: center;
  background-color: #fff;
  z-index: 1000;
  img {
    width: 0.06rem;
    height: 0.03rem;
    margin-left: 0.05rem;
  }
`;

export const CitiesItem = styled.li`
  height: 0.3rem;
  width: calc(25vw - 0.125rem);
  text-align: center;
  line-height: 0.3rem;
  padding-bottom: 15px;
  padding-right: 10px;
  .selected {
    border: 1px solid #ffc3a8;
  }
  div {
    font-size: 12px;
    border-radius: 3px;
  }
`;
